using System;
using System.Linq;

namespace Repository.Abstract
{
    public interface IBaseRepository<TEnity> where TEnity : class
    {
        IQueryable<TEnity> GetAll { get; }
        void Delete(TEnity enity);
        void Add(TEnity enity, Guid userId);
        void Save(TEnity enity, Guid userId);
    }
}